<lv-group lvDirection="vertical" lvGutter="16px">
  <button lv-button (click)="Refresh()">Refresh</button>

  <lv-datatable [lvData]="data" #lvTable class="table">
    <thead>
      <tr>
        <th lvCellKey="id">ID</th>
        <th lvCellKey="name">Name</th>
        <th lvCellKey="age">Age</th>
        <th lvCellKey="random">Random</th>
        <th lvCellKey="operation">Operation</th>
      </tr>
    </thead>
    <tbody>
      <ng-container *ngFor="let item of lvTable.renderData; trackBy: trackByFn">
        <tr>
          <td>{{ item.id }}</td>
          <td>
            <span lv-overflow>{{ item.name }}</span>
          </td>
          <td>{{ item.age }}</td>
          <td>{{ item.random }}</td>
          <td>
            <lv-operation-menu [lvData]="item" [lvItemsFn]="getItems" lvMaxShowNum="1"></lv-operation-menu>
          </td>
        </tr>
      </ng-container>
    </tbody>
  </lv-datatable>
</lv-group>
